package com.example.it_com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Blog {
    private Integer blogId;
    private Integer userId;
    private String bTitle;
    private String bContent;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bCreatedat;
    private Integer bStatus;
    private Integer viewCount;
    private Integer likeCount;
    private String bType;
    private Integer bPrice;
}
